<p>Date: <input type="text" id="datepicker" class=""/></p>
<script type="text/javascript">
$(document).ready(function(){
	$(function() {
		$("#datepicker").datepicker({minDate: -20, maxDate: '+1M +10D'});
	});
});
</script>